package com.yvon.maple.cloud.api.system.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author : Yvon
 * @since : 2021-07-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SecurityUserDTO implements Serializable {

    private Long id;

    private String password;

    private String username;

    private Boolean accountNonExpired;

    private Boolean accountNonLocked;

    private Boolean credentialsNonExpired;

    private Boolean enabled;

    private List<String> roleCodes;
}
